package com.team11.server.mapper;

import com.team11.server.pojo.LRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pjc
 * @since 2021-07-12
 */
public interface LRecordMapper extends BaseMapper<LRecord> {

    /**
     * 根据id获取请假记录
     * @param lId
     * @return
     */
    List<Map<String,Object>> getLRecord(@Param("lId") Integer lId);
}
